/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package j2ee.impl;

import j2ee.AssemblyDescriptorType;
import j2ee.CmpFieldType;
import j2ee.CmrFieldType;
import j2ee.ContainerTransactionType;
import j2ee.DocumentRoot;
import j2ee.EjbJarType;
import j2ee.EjbLocalRefType;
import j2ee.EjbRelationType;
import j2ee.EjbRelationshipRoleType;
import j2ee.EnterpriseBeansType;
import j2ee.EntityType;
import j2ee.J2eePackage;
import j2ee.MethodParamsType;
import j2ee.MethodType;
import j2ee.QueryMethodType;
import j2ee.QueryType;
import j2ee.RelationshipRoleSourceType;
import j2ee.RelationshipsType;

import org.eclipse.emf.common.notify.NotificationChain;

import org.eclipse.emf.common.util.EMap;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.InternalEObject;

import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;

import org.eclipse.emf.ecore.util.BasicFeatureMap;
import org.eclipse.emf.ecore.util.EcoreEMap;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.eclipse.emf.ecore.util.InternalEList;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Document Root</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getAbstractSchemaName <em>Abstract Schema Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getAssemblyDescriptor <em>Assembly Descriptor</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getCmpField <em>Cmp Field</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getCmpVersion <em>Cmp Version</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getCmrField <em>Cmr Field</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getCmrFieldName <em>Cmr Field Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getCmrFieldType <em>Cmr Field Type</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getContainerTransaction <em>Container Transaction</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getDescription <em>Description</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getDisplayName <em>Display Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbClass <em>Ejb Class</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbClientJar <em>Ejb Client Jar</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbJar <em>Ejb Jar</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbLink <em>Ejb Link</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbLocalRef <em>Ejb Local Ref</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbName <em>Ejb Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbQl <em>Ejb Ql</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbRefName <em>Ejb Ref Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbRefType <em>Ejb Ref Type</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbRelation <em>Ejb Relation</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbRelationName <em>Ejb Relation Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbRelationshipRole <em>Ejb Relationship Role</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEjbRelationshipRoleName <em>Ejb Relationship Role Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEnterpriseBeans <em>Enterprise Beans</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getEntity <em>Entity</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getFieldName <em>Field Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getLocal <em>Local</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getLocalHome <em>Local Home</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMethod <em>Method</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMethodIntf <em>Method Intf</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMethodName <em>Method Name</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMethodParam <em>Method Param</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMethodParams <em>Method Params</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getMultiplicity <em>Multiplicity</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getPersistenceType <em>Persistence Type</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getPrimKeyClass <em>Prim Key Class</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getPrimkeyField <em>Primkey Field</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getQuery <em>Query</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getQueryMethod <em>Query Method</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getReentrant <em>Reentrant</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getRelationshipRoleSource <em>Relationship Role Source</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getRelationships <em>Relationships</em>}</li>
 *   <li>{@link j2ee.impl.DocumentRootImpl#getTransAttribute <em>Trans Attribute</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
	/**
	 * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getMixed()
	 * @generated
	 * @ordered
	 */
	protected FeatureMap mixed;

	/**
	 * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getXMLNSPrefixMap()
	 * @generated
	 * @ordered
	 */
	protected EMap<String, String> xMLNSPrefixMap;

	/**
	 * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getXSISchemaLocation()
	 * @generated
	 * @ordered
	 */
	protected EMap<String, String> xSISchemaLocation;

	/**
	 * The default value of the '{@link #getAbstractSchemaName() <em>Abstract Schema Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAbstractSchemaName()
	 * @generated
	 * @ordered
	 */
	protected static final String ABSTRACT_SCHEMA_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getCmpVersion() <em>Cmp Version</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getCmpVersion()
	 * @generated
	 * @ordered
	 */
	protected static final String CMP_VERSION_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getCmrFieldName() <em>Cmr Field Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getCmrFieldName()
	 * @generated
	 * @ordered
	 */
	protected static final String CMR_FIELD_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getCmrFieldType() <em>Cmr Field Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getCmrFieldType()
	 * @generated
	 * @ordered
	 */
	protected static final String CMR_FIELD_TYPE_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getDescription()
	 * @generated
	 * @ordered
	 */
	protected static final String DESCRIPTION_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getDisplayName()
	 * @generated
	 * @ordered
	 */
	protected static final String DISPLAY_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbClass() <em>Ejb Class</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbClass()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_CLASS_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbClientJar() <em>Ejb Client Jar</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbClientJar()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_CLIENT_JAR_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbLink() <em>Ejb Link</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbLink()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_LINK_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbName() <em>Ejb Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbName()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbQl() <em>Ejb Ql</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbQl()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_QL_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbRefName()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_REF_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbRefType() <em>Ejb Ref Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbRefType()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_REF_TYPE_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbRelationName() <em>Ejb Relation Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbRelationName()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_RELATION_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getEjbRelationshipRoleName() <em>Ejb Relationship Role Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getEjbRelationshipRoleName()
	 * @generated
	 * @ordered
	 */
	protected static final String EJB_RELATIONSHIP_ROLE_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getFieldName() <em>Field Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getFieldName()
	 * @generated
	 * @ordered
	 */
	protected static final String FIELD_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getLocal() <em>Local</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getLocal()
	 * @generated
	 * @ordered
	 */
	protected static final String LOCAL_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getLocalHome() <em>Local Home</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getLocalHome()
	 * @generated
	 * @ordered
	 */
	protected static final String LOCAL_HOME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getMethodIntf() <em>Method Intf</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getMethodIntf()
	 * @generated
	 * @ordered
	 */
	protected static final String METHOD_INTF_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getMethodName() <em>Method Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getMethodName()
	 * @generated
	 * @ordered
	 */
	protected static final String METHOD_NAME_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getMethodParam() <em>Method Param</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getMethodParam()
	 * @generated
	 * @ordered
	 */
	protected static final String METHOD_PARAM_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getMultiplicity()
	 * @generated
	 * @ordered
	 */
	protected static final String MULTIPLICITY_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getPersistenceType() <em>Persistence Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getPersistenceType()
	 * @generated
	 * @ordered
	 */
	protected static final String PERSISTENCE_TYPE_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getPrimKeyClass() <em>Prim Key Class</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getPrimKeyClass()
	 * @generated
	 * @ordered
	 */
	protected static final String PRIM_KEY_CLASS_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getPrimkeyField() <em>Primkey Field</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getPrimkeyField()
	 * @generated
	 * @ordered
	 */
	protected static final String PRIMKEY_FIELD_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getReentrant() <em>Reentrant</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getReentrant()
	 * @generated
	 * @ordered
	 */
	protected static final String REENTRANT_EDEFAULT = null;

	/**
	 * The default value of the '{@link #getTransAttribute() <em>Trans Attribute</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTransAttribute()
	 * @generated
	 * @ordered
	 */
	protected static final String TRANS_ATTRIBUTE_EDEFAULT = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DocumentRootImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return J2eePackage.Literals.DOCUMENT_ROOT;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public FeatureMap getMixed() {
		if (mixed == null) {
			mixed = new BasicFeatureMap(this, J2eePackage.DOCUMENT_ROOT__MIXED);
		}
		return mixed;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EMap<String, String> getXMLNSPrefixMap() {
		if (xMLNSPrefixMap == null) {
			xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, J2eePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
		}
		return xMLNSPrefixMap;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EMap<String, String> getXSISchemaLocation() {
		if (xSISchemaLocation == null) {
			xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, J2eePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
		}
		return xSISchemaLocation;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getAbstractSchemaName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__ABSTRACT_SCHEMA_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setAbstractSchemaName(String newAbstractSchemaName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__ABSTRACT_SCHEMA_NAME, newAbstractSchemaName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public AssemblyDescriptorType getAssemblyDescriptor() {
		return (AssemblyDescriptorType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetAssemblyDescriptor(AssemblyDescriptorType newAssemblyDescriptor, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR, newAssemblyDescriptor, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setAssemblyDescriptor(AssemblyDescriptorType newAssemblyDescriptor) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR, newAssemblyDescriptor);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CmpFieldType getCmpField() {
		return (CmpFieldType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__CMP_FIELD, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetCmpField(CmpFieldType newCmpField, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__CMP_FIELD, newCmpField, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCmpField(CmpFieldType newCmpField) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__CMP_FIELD, newCmpField);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getCmpVersion() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__CMP_VERSION, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCmpVersion(String newCmpVersion) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__CMP_VERSION, newCmpVersion);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CmrFieldType getCmrField() {
		return (CmrFieldType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetCmrField(CmrFieldType newCmrField, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD, newCmrField, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCmrField(CmrFieldType newCmrField) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD, newCmrField);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getCmrFieldName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCmrFieldName(String newCmrFieldName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD_NAME, newCmrFieldName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getCmrFieldType() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD_TYPE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCmrFieldType(String newCmrFieldType) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__CMR_FIELD_TYPE, newCmrFieldType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ContainerTransactionType getContainerTransaction() {
		return (ContainerTransactionType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__CONTAINER_TRANSACTION, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetContainerTransaction(ContainerTransactionType newContainerTransaction, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__CONTAINER_TRANSACTION, newContainerTransaction, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setContainerTransaction(ContainerTransactionType newContainerTransaction) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__CONTAINER_TRANSACTION, newContainerTransaction);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getDescription() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__DESCRIPTION, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setDescription(String newDescription) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__DESCRIPTION, newDescription);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getDisplayName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setDisplayName(String newDisplayName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME, newDisplayName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbClass() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_CLASS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbClass(String newEjbClass) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_CLASS, newEjbClass);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbClientJar() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_CLIENT_JAR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbClientJar(String newEjbClientJar) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_CLIENT_JAR, newEjbClientJar);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EjbJarType getEjbJar() {
		return (EjbJarType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_JAR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetEjbJar(EjbJarType newEjbJar, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__EJB_JAR, newEjbJar, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbJar(EjbJarType newEjbJar) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_JAR, newEjbJar);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbLink() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_LINK, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbLink(String newEjbLink) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_LINK, newEjbLink);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EjbLocalRefType getEjbLocalRef() {
		return (EjbLocalRefType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_LOCAL_REF, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetEjbLocalRef(EjbLocalRefType newEjbLocalRef, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__EJB_LOCAL_REF, newEjbLocalRef, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbLocalRef(EjbLocalRefType newEjbLocalRef) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_LOCAL_REF, newEjbLocalRef);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbName(String newEjbName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_NAME, newEjbName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbQl() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_QL, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbQl(String newEjbQl) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_QL, newEjbQl);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbRefName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_REF_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbRefName(String newEjbRefName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_REF_NAME, newEjbRefName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbRefType() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_REF_TYPE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbRefType(String newEjbRefType) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_REF_TYPE, newEjbRefType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EjbRelationType getEjbRelation() {
		return (EjbRelationType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATION, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetEjbRelation(EjbRelationType newEjbRelation, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATION, newEjbRelation, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbRelation(EjbRelationType newEjbRelation) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATION, newEjbRelation);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbRelationName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATION_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbRelationName(String newEjbRelationName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATION_NAME, newEjbRelationName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EjbRelationshipRoleType getEjbRelationshipRole() {
		return (EjbRelationshipRoleType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetEjbRelationshipRole(EjbRelationshipRoleType newEjbRelationshipRole, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE, newEjbRelationshipRole, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbRelationshipRole(EjbRelationshipRoleType newEjbRelationshipRole) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE, newEjbRelationshipRole);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getEjbRelationshipRoleName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEjbRelationshipRoleName(String newEjbRelationshipRoleName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE_NAME, newEjbRelationshipRoleName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EnterpriseBeansType getEnterpriseBeans() {
		return (EnterpriseBeansType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__ENTERPRISE_BEANS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetEnterpriseBeans(EnterpriseBeansType newEnterpriseBeans, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__ENTERPRISE_BEANS, newEnterpriseBeans, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEnterpriseBeans(EnterpriseBeansType newEnterpriseBeans) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__ENTERPRISE_BEANS, newEnterpriseBeans);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EntityType getEntity() {
		return (EntityType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__ENTITY, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetEntity(EntityType newEntity, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__ENTITY, newEntity, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEntity(EntityType newEntity) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__ENTITY, newEntity);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getFieldName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__FIELD_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFieldName(String newFieldName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__FIELD_NAME, newFieldName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLocal() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__LOCAL, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setLocal(String newLocal) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__LOCAL, newLocal);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLocalHome() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__LOCAL_HOME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setLocalHome(String newLocalHome) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__LOCAL_HOME, newLocalHome);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MethodType getMethod() {
		return (MethodType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__METHOD, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetMethod(MethodType newMethod, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__METHOD, newMethod, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMethod(MethodType newMethod) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__METHOD, newMethod);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getMethodIntf() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_INTF, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMethodIntf(String newMethodIntf) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_INTF, newMethodIntf);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getMethodName() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMethodName(String newMethodName) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_NAME, newMethodName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getMethodParam() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_PARAM, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMethodParam(String newMethodParam) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_PARAM, newMethodParam);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MethodParamsType getMethodParams() {
		return (MethodParamsType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_PARAMS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetMethodParams(MethodParamsType newMethodParams, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_PARAMS, newMethodParams, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMethodParams(MethodParamsType newMethodParams) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__METHOD_PARAMS, newMethodParams);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getMultiplicity() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__MULTIPLICITY, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setMultiplicity(String newMultiplicity) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__MULTIPLICITY, newMultiplicity);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getPersistenceType() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__PERSISTENCE_TYPE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setPersistenceType(String newPersistenceType) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__PERSISTENCE_TYPE, newPersistenceType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getPrimKeyClass() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__PRIM_KEY_CLASS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setPrimKeyClass(String newPrimKeyClass) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__PRIM_KEY_CLASS, newPrimKeyClass);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getPrimkeyField() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__PRIMKEY_FIELD, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setPrimkeyField(String newPrimkeyField) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__PRIMKEY_FIELD, newPrimkeyField);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public QueryType getQuery() {
		return (QueryType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__QUERY, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetQuery(QueryType newQuery, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__QUERY, newQuery, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setQuery(QueryType newQuery) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__QUERY, newQuery);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public QueryMethodType getQueryMethod() {
		return (QueryMethodType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__QUERY_METHOD, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetQueryMethod(QueryMethodType newQueryMethod, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__QUERY_METHOD, newQueryMethod, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setQueryMethod(QueryMethodType newQueryMethod) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__QUERY_METHOD, newQueryMethod);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getReentrant() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__REENTRANT, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setReentrant(String newReentrant) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__REENTRANT, newReentrant);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public RelationshipRoleSourceType getRelationshipRoleSource() {
		return (RelationshipRoleSourceType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetRelationshipRoleSource(RelationshipRoleSourceType newRelationshipRoleSource, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE, newRelationshipRoleSource, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setRelationshipRoleSource(RelationshipRoleSourceType newRelationshipRoleSource) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE, newRelationshipRoleSource);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public RelationshipsType getRelationships() {
		return (RelationshipsType)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__RELATIONSHIPS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetRelationships(RelationshipsType newRelationships, NotificationChain msgs) {
		return ((FeatureMap.Internal)getMixed()).basicAdd(J2eePackage.Literals.DOCUMENT_ROOT__RELATIONSHIPS, newRelationships, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setRelationships(RelationshipsType newRelationships) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__RELATIONSHIPS, newRelationships);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getTransAttribute() {
		return (String)getMixed().get(J2eePackage.Literals.DOCUMENT_ROOT__TRANS_ATTRIBUTE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTransAttribute(String newTransAttribute) {
		((FeatureMap.Internal)getMixed()).set(J2eePackage.Literals.DOCUMENT_ROOT__TRANS_ATTRIBUTE, newTransAttribute);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
		switch (featureID) {
			case J2eePackage.DOCUMENT_ROOT__MIXED:
				return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
			case J2eePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
				return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
			case J2eePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
				return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
			case J2eePackage.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR:
				return basicSetAssemblyDescriptor(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__CMP_FIELD:
				return basicSetCmpField(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD:
				return basicSetCmrField(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__CONTAINER_TRANSACTION:
				return basicSetContainerTransaction(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__EJB_JAR:
				return basicSetEjbJar(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
				return basicSetEjbLocalRef(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION:
				return basicSetEjbRelation(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE:
				return basicSetEjbRelationshipRole(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__ENTERPRISE_BEANS:
				return basicSetEnterpriseBeans(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__ENTITY:
				return basicSetEntity(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__METHOD:
				return basicSetMethod(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAMS:
				return basicSetMethodParams(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__QUERY:
				return basicSetQuery(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__QUERY_METHOD:
				return basicSetQueryMethod(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE:
				return basicSetRelationshipRoleSource(null, msgs);
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIPS:
				return basicSetRelationships(null, msgs);
		}
		return super.eInverseRemove(otherEnd, featureID, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
		switch (featureID) {
			case J2eePackage.DOCUMENT_ROOT__MIXED:
				if (coreType) return getMixed();
				return ((FeatureMap.Internal)getMixed()).getWrapper();
			case J2eePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
				if (coreType) return getXMLNSPrefixMap();
				else return getXMLNSPrefixMap().map();
			case J2eePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
				if (coreType) return getXSISchemaLocation();
				else return getXSISchemaLocation().map();
			case J2eePackage.DOCUMENT_ROOT__ABSTRACT_SCHEMA_NAME:
				return getAbstractSchemaName();
			case J2eePackage.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR:
				return getAssemblyDescriptor();
			case J2eePackage.DOCUMENT_ROOT__CMP_FIELD:
				return getCmpField();
			case J2eePackage.DOCUMENT_ROOT__CMP_VERSION:
				return getCmpVersion();
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD:
				return getCmrField();
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_NAME:
				return getCmrFieldName();
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_TYPE:
				return getCmrFieldType();
			case J2eePackage.DOCUMENT_ROOT__CONTAINER_TRANSACTION:
				return getContainerTransaction();
			case J2eePackage.DOCUMENT_ROOT__DESCRIPTION:
				return getDescription();
			case J2eePackage.DOCUMENT_ROOT__DISPLAY_NAME:
				return getDisplayName();
			case J2eePackage.DOCUMENT_ROOT__EJB_CLASS:
				return getEjbClass();
			case J2eePackage.DOCUMENT_ROOT__EJB_CLIENT_JAR:
				return getEjbClientJar();
			case J2eePackage.DOCUMENT_ROOT__EJB_JAR:
				return getEjbJar();
			case J2eePackage.DOCUMENT_ROOT__EJB_LINK:
				return getEjbLink();
			case J2eePackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
				return getEjbLocalRef();
			case J2eePackage.DOCUMENT_ROOT__EJB_NAME:
				return getEjbName();
			case J2eePackage.DOCUMENT_ROOT__EJB_QL:
				return getEjbQl();
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_NAME:
				return getEjbRefName();
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_TYPE:
				return getEjbRefType();
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION:
				return getEjbRelation();
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION_NAME:
				return getEjbRelationName();
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE:
				return getEjbRelationshipRole();
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE_NAME:
				return getEjbRelationshipRoleName();
			case J2eePackage.DOCUMENT_ROOT__ENTERPRISE_BEANS:
				return getEnterpriseBeans();
			case J2eePackage.DOCUMENT_ROOT__ENTITY:
				return getEntity();
			case J2eePackage.DOCUMENT_ROOT__FIELD_NAME:
				return getFieldName();
			case J2eePackage.DOCUMENT_ROOT__LOCAL:
				return getLocal();
			case J2eePackage.DOCUMENT_ROOT__LOCAL_HOME:
				return getLocalHome();
			case J2eePackage.DOCUMENT_ROOT__METHOD:
				return getMethod();
			case J2eePackage.DOCUMENT_ROOT__METHOD_INTF:
				return getMethodIntf();
			case J2eePackage.DOCUMENT_ROOT__METHOD_NAME:
				return getMethodName();
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAM:
				return getMethodParam();
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAMS:
				return getMethodParams();
			case J2eePackage.DOCUMENT_ROOT__MULTIPLICITY:
				return getMultiplicity();
			case J2eePackage.DOCUMENT_ROOT__PERSISTENCE_TYPE:
				return getPersistenceType();
			case J2eePackage.DOCUMENT_ROOT__PRIM_KEY_CLASS:
				return getPrimKeyClass();
			case J2eePackage.DOCUMENT_ROOT__PRIMKEY_FIELD:
				return getPrimkeyField();
			case J2eePackage.DOCUMENT_ROOT__QUERY:
				return getQuery();
			case J2eePackage.DOCUMENT_ROOT__QUERY_METHOD:
				return getQueryMethod();
			case J2eePackage.DOCUMENT_ROOT__REENTRANT:
				return getReentrant();
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE:
				return getRelationshipRoleSource();
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIPS:
				return getRelationships();
			case J2eePackage.DOCUMENT_ROOT__TRANS_ATTRIBUTE:
				return getTransAttribute();
		}
		return super.eGet(featureID, resolve, coreType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void eSet(int featureID, Object newValue) {
		switch (featureID) {
			case J2eePackage.DOCUMENT_ROOT__MIXED:
				((FeatureMap.Internal)getMixed()).set(newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
				((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
				((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__ABSTRACT_SCHEMA_NAME:
				setAbstractSchemaName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR:
				setAssemblyDescriptor((AssemblyDescriptorType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMP_FIELD:
				setCmpField((CmpFieldType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMP_VERSION:
				setCmpVersion((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD:
				setCmrField((CmrFieldType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_NAME:
				setCmrFieldName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_TYPE:
				setCmrFieldType((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__CONTAINER_TRANSACTION:
				setContainerTransaction((ContainerTransactionType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__DESCRIPTION:
				setDescription((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__DISPLAY_NAME:
				setDisplayName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_CLASS:
				setEjbClass((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_CLIENT_JAR:
				setEjbClientJar((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_JAR:
				setEjbJar((EjbJarType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_LINK:
				setEjbLink((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
				setEjbLocalRef((EjbLocalRefType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_NAME:
				setEjbName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_QL:
				setEjbQl((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_NAME:
				setEjbRefName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_TYPE:
				setEjbRefType((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION:
				setEjbRelation((EjbRelationType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION_NAME:
				setEjbRelationName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE:
				setEjbRelationshipRole((EjbRelationshipRoleType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE_NAME:
				setEjbRelationshipRoleName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__ENTERPRISE_BEANS:
				setEnterpriseBeans((EnterpriseBeansType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__ENTITY:
				setEntity((EntityType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__FIELD_NAME:
				setFieldName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__LOCAL:
				setLocal((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__LOCAL_HOME:
				setLocalHome((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD:
				setMethod((MethodType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_INTF:
				setMethodIntf((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_NAME:
				setMethodName((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAM:
				setMethodParam((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAMS:
				setMethodParams((MethodParamsType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__MULTIPLICITY:
				setMultiplicity((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__PERSISTENCE_TYPE:
				setPersistenceType((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__PRIM_KEY_CLASS:
				setPrimKeyClass((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__PRIMKEY_FIELD:
				setPrimkeyField((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__QUERY:
				setQuery((QueryType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__QUERY_METHOD:
				setQueryMethod((QueryMethodType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__REENTRANT:
				setReentrant((String)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE:
				setRelationshipRoleSource((RelationshipRoleSourceType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIPS:
				setRelationships((RelationshipsType)newValue);
				return;
			case J2eePackage.DOCUMENT_ROOT__TRANS_ATTRIBUTE:
				setTransAttribute((String)newValue);
				return;
		}
		super.eSet(featureID, newValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void eUnset(int featureID) {
		switch (featureID) {
			case J2eePackage.DOCUMENT_ROOT__MIXED:
				getMixed().clear();
				return;
			case J2eePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
				getXMLNSPrefixMap().clear();
				return;
			case J2eePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
				getXSISchemaLocation().clear();
				return;
			case J2eePackage.DOCUMENT_ROOT__ABSTRACT_SCHEMA_NAME:
				setAbstractSchemaName(ABSTRACT_SCHEMA_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR:
				setAssemblyDescriptor((AssemblyDescriptorType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMP_FIELD:
				setCmpField((CmpFieldType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMP_VERSION:
				setCmpVersion(CMP_VERSION_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD:
				setCmrField((CmrFieldType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_NAME:
				setCmrFieldName(CMR_FIELD_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_TYPE:
				setCmrFieldType(CMR_FIELD_TYPE_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__CONTAINER_TRANSACTION:
				setContainerTransaction((ContainerTransactionType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__DESCRIPTION:
				setDescription(DESCRIPTION_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__DISPLAY_NAME:
				setDisplayName(DISPLAY_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_CLASS:
				setEjbClass(EJB_CLASS_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_CLIENT_JAR:
				setEjbClientJar(EJB_CLIENT_JAR_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_JAR:
				setEjbJar((EjbJarType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_LINK:
				setEjbLink(EJB_LINK_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
				setEjbLocalRef((EjbLocalRefType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_NAME:
				setEjbName(EJB_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_QL:
				setEjbQl(EJB_QL_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_NAME:
				setEjbRefName(EJB_REF_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_TYPE:
				setEjbRefType(EJB_REF_TYPE_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION:
				setEjbRelation((EjbRelationType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION_NAME:
				setEjbRelationName(EJB_RELATION_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE:
				setEjbRelationshipRole((EjbRelationshipRoleType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE_NAME:
				setEjbRelationshipRoleName(EJB_RELATIONSHIP_ROLE_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__ENTERPRISE_BEANS:
				setEnterpriseBeans((EnterpriseBeansType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__ENTITY:
				setEntity((EntityType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__FIELD_NAME:
				setFieldName(FIELD_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__LOCAL:
				setLocal(LOCAL_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__LOCAL_HOME:
				setLocalHome(LOCAL_HOME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD:
				setMethod((MethodType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_INTF:
				setMethodIntf(METHOD_INTF_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_NAME:
				setMethodName(METHOD_NAME_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAM:
				setMethodParam(METHOD_PARAM_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAMS:
				setMethodParams((MethodParamsType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__MULTIPLICITY:
				setMultiplicity(MULTIPLICITY_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__PERSISTENCE_TYPE:
				setPersistenceType(PERSISTENCE_TYPE_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__PRIM_KEY_CLASS:
				setPrimKeyClass(PRIM_KEY_CLASS_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__PRIMKEY_FIELD:
				setPrimkeyField(PRIMKEY_FIELD_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__QUERY:
				setQuery((QueryType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__QUERY_METHOD:
				setQueryMethod((QueryMethodType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__REENTRANT:
				setReentrant(REENTRANT_EDEFAULT);
				return;
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE:
				setRelationshipRoleSource((RelationshipRoleSourceType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIPS:
				setRelationships((RelationshipsType)null);
				return;
			case J2eePackage.DOCUMENT_ROOT__TRANS_ATTRIBUTE:
				setTransAttribute(TRANS_ATTRIBUTE_EDEFAULT);
				return;
		}
		super.eUnset(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public boolean eIsSet(int featureID) {
		switch (featureID) {
			case J2eePackage.DOCUMENT_ROOT__MIXED:
				return mixed != null && !mixed.isEmpty();
			case J2eePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
				return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
			case J2eePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
				return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
			case J2eePackage.DOCUMENT_ROOT__ABSTRACT_SCHEMA_NAME:
				return ABSTRACT_SCHEMA_NAME_EDEFAULT == null ? getAbstractSchemaName() != null : !ABSTRACT_SCHEMA_NAME_EDEFAULT.equals(getAbstractSchemaName());
			case J2eePackage.DOCUMENT_ROOT__ASSEMBLY_DESCRIPTOR:
				return getAssemblyDescriptor() != null;
			case J2eePackage.DOCUMENT_ROOT__CMP_FIELD:
				return getCmpField() != null;
			case J2eePackage.DOCUMENT_ROOT__CMP_VERSION:
				return CMP_VERSION_EDEFAULT == null ? getCmpVersion() != null : !CMP_VERSION_EDEFAULT.equals(getCmpVersion());
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD:
				return getCmrField() != null;
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_NAME:
				return CMR_FIELD_NAME_EDEFAULT == null ? getCmrFieldName() != null : !CMR_FIELD_NAME_EDEFAULT.equals(getCmrFieldName());
			case J2eePackage.DOCUMENT_ROOT__CMR_FIELD_TYPE:
				return CMR_FIELD_TYPE_EDEFAULT == null ? getCmrFieldType() != null : !CMR_FIELD_TYPE_EDEFAULT.equals(getCmrFieldType());
			case J2eePackage.DOCUMENT_ROOT__CONTAINER_TRANSACTION:
				return getContainerTransaction() != null;
			case J2eePackage.DOCUMENT_ROOT__DESCRIPTION:
				return DESCRIPTION_EDEFAULT == null ? getDescription() != null : !DESCRIPTION_EDEFAULT.equals(getDescription());
			case J2eePackage.DOCUMENT_ROOT__DISPLAY_NAME:
				return DISPLAY_NAME_EDEFAULT == null ? getDisplayName() != null : !DISPLAY_NAME_EDEFAULT.equals(getDisplayName());
			case J2eePackage.DOCUMENT_ROOT__EJB_CLASS:
				return EJB_CLASS_EDEFAULT == null ? getEjbClass() != null : !EJB_CLASS_EDEFAULT.equals(getEjbClass());
			case J2eePackage.DOCUMENT_ROOT__EJB_CLIENT_JAR:
				return EJB_CLIENT_JAR_EDEFAULT == null ? getEjbClientJar() != null : !EJB_CLIENT_JAR_EDEFAULT.equals(getEjbClientJar());
			case J2eePackage.DOCUMENT_ROOT__EJB_JAR:
				return getEjbJar() != null;
			case J2eePackage.DOCUMENT_ROOT__EJB_LINK:
				return EJB_LINK_EDEFAULT == null ? getEjbLink() != null : !EJB_LINK_EDEFAULT.equals(getEjbLink());
			case J2eePackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
				return getEjbLocalRef() != null;
			case J2eePackage.DOCUMENT_ROOT__EJB_NAME:
				return EJB_NAME_EDEFAULT == null ? getEjbName() != null : !EJB_NAME_EDEFAULT.equals(getEjbName());
			case J2eePackage.DOCUMENT_ROOT__EJB_QL:
				return EJB_QL_EDEFAULT == null ? getEjbQl() != null : !EJB_QL_EDEFAULT.equals(getEjbQl());
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_NAME:
				return EJB_REF_NAME_EDEFAULT == null ? getEjbRefName() != null : !EJB_REF_NAME_EDEFAULT.equals(getEjbRefName());
			case J2eePackage.DOCUMENT_ROOT__EJB_REF_TYPE:
				return EJB_REF_TYPE_EDEFAULT == null ? getEjbRefType() != null : !EJB_REF_TYPE_EDEFAULT.equals(getEjbRefType());
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION:
				return getEjbRelation() != null;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATION_NAME:
				return EJB_RELATION_NAME_EDEFAULT == null ? getEjbRelationName() != null : !EJB_RELATION_NAME_EDEFAULT.equals(getEjbRelationName());
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE:
				return getEjbRelationshipRole() != null;
			case J2eePackage.DOCUMENT_ROOT__EJB_RELATIONSHIP_ROLE_NAME:
				return EJB_RELATIONSHIP_ROLE_NAME_EDEFAULT == null ? getEjbRelationshipRoleName() != null : !EJB_RELATIONSHIP_ROLE_NAME_EDEFAULT.equals(getEjbRelationshipRoleName());
			case J2eePackage.DOCUMENT_ROOT__ENTERPRISE_BEANS:
				return getEnterpriseBeans() != null;
			case J2eePackage.DOCUMENT_ROOT__ENTITY:
				return getEntity() != null;
			case J2eePackage.DOCUMENT_ROOT__FIELD_NAME:
				return FIELD_NAME_EDEFAULT == null ? getFieldName() != null : !FIELD_NAME_EDEFAULT.equals(getFieldName());
			case J2eePackage.DOCUMENT_ROOT__LOCAL:
				return LOCAL_EDEFAULT == null ? getLocal() != null : !LOCAL_EDEFAULT.equals(getLocal());
			case J2eePackage.DOCUMENT_ROOT__LOCAL_HOME:
				return LOCAL_HOME_EDEFAULT == null ? getLocalHome() != null : !LOCAL_HOME_EDEFAULT.equals(getLocalHome());
			case J2eePackage.DOCUMENT_ROOT__METHOD:
				return getMethod() != null;
			case J2eePackage.DOCUMENT_ROOT__METHOD_INTF:
				return METHOD_INTF_EDEFAULT == null ? getMethodIntf() != null : !METHOD_INTF_EDEFAULT.equals(getMethodIntf());
			case J2eePackage.DOCUMENT_ROOT__METHOD_NAME:
				return METHOD_NAME_EDEFAULT == null ? getMethodName() != null : !METHOD_NAME_EDEFAULT.equals(getMethodName());
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAM:
				return METHOD_PARAM_EDEFAULT == null ? getMethodParam() != null : !METHOD_PARAM_EDEFAULT.equals(getMethodParam());
			case J2eePackage.DOCUMENT_ROOT__METHOD_PARAMS:
				return getMethodParams() != null;
			case J2eePackage.DOCUMENT_ROOT__MULTIPLICITY:
				return MULTIPLICITY_EDEFAULT == null ? getMultiplicity() != null : !MULTIPLICITY_EDEFAULT.equals(getMultiplicity());
			case J2eePackage.DOCUMENT_ROOT__PERSISTENCE_TYPE:
				return PERSISTENCE_TYPE_EDEFAULT == null ? getPersistenceType() != null : !PERSISTENCE_TYPE_EDEFAULT.equals(getPersistenceType());
			case J2eePackage.DOCUMENT_ROOT__PRIM_KEY_CLASS:
				return PRIM_KEY_CLASS_EDEFAULT == null ? getPrimKeyClass() != null : !PRIM_KEY_CLASS_EDEFAULT.equals(getPrimKeyClass());
			case J2eePackage.DOCUMENT_ROOT__PRIMKEY_FIELD:
				return PRIMKEY_FIELD_EDEFAULT == null ? getPrimkeyField() != null : !PRIMKEY_FIELD_EDEFAULT.equals(getPrimkeyField());
			case J2eePackage.DOCUMENT_ROOT__QUERY:
				return getQuery() != null;
			case J2eePackage.DOCUMENT_ROOT__QUERY_METHOD:
				return getQueryMethod() != null;
			case J2eePackage.DOCUMENT_ROOT__REENTRANT:
				return REENTRANT_EDEFAULT == null ? getReentrant() != null : !REENTRANT_EDEFAULT.equals(getReentrant());
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIP_ROLE_SOURCE:
				return getRelationshipRoleSource() != null;
			case J2eePackage.DOCUMENT_ROOT__RELATIONSHIPS:
				return getRelationships() != null;
			case J2eePackage.DOCUMENT_ROOT__TRANS_ATTRIBUTE:
				return TRANS_ATTRIBUTE_EDEFAULT == null ? getTransAttribute() != null : !TRANS_ATTRIBUTE_EDEFAULT.equals(getTransAttribute());
		}
		return super.eIsSet(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		if (eIsProxy()) return super.toString();

		StringBuffer result = new StringBuffer(super.toString());
		result.append(" (mixed: ");
		result.append(mixed);
		result.append(')');
		return result.toString();
	}

} //DocumentRootImpl
